﻿using Rodunu.Movies.Contracts;
using Rodunu.Movies.Services.NetFlix.DataProvider;
using Rodunu.Movies.Services.NetFlix.DataProvider.NFService;

namespace Rodunu.Movies.Services.NetFlix.Logic
{
    public class NetflixServiceBase
    {
        internal NetflixService _netflixService;
        internal SerializationHelper _serializationHelper;

        public NetflixServiceBase(string tokenKey)
        {
            _netflixService = new NetflixService(tokenKey);
            _serializationHelper = new SerializationHelper(_netflixService);
        }

        public NetflixServiceBase()
        {
            _netflixService = new NetflixService();
            _serializationHelper = new SerializationHelper(_netflixService);
        }

        public NetflixServiceBase(UserInfo userId)
        {
            _netflixService = new NetflixService(userId);
            _serializationHelper = new SerializationHelper(_netflixService);
        }
    }
}
